<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib prefix="fmt" 
           uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script type="text/javascript" src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js">
	</script>
<title>Insert title here</title>
</head>
<body>
	<p style="text-align:center">所有的员工信息</p>
	<table width="100%" border=1 style="text-align:center">
		<tr>
			<td>员工姓名</td>
			<td>员工编号</td>
			<td>联系方式</td>
			<td>email</td>
			<td>权限</td>
			<td>用户名</td>
			<td>密码</td>
			<td>操作</td>
		</tr>
		<c:if test="${employeeList!=null}">
			<c:forEach items="${employeeList}" var="employee">
				<tr>
					<td>${employee.name}</td>
					<td>${employee.num}</td>
					<td>${employee.phonenum}</td>
					<td>${employee.email}</td>
					<td>${employee.jurisdiction}</td>
					<td>${employee.username}</td>
					<td>${employee.password}</td>
					<td>
						<a href="${pageContext.request.contextPath }/employee/toAlertEmployeeMessage?id=${employee.id}">修改</a>
					</td>
				</tr>
			</c:forEach>
		</c:if>
	</table>	
	
</body>
</html>